<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/19
 * Time: 10:50
 */
define("fun","aa");
function fun(){
    return "bb";
}

echo fun;
echo fun();

function foo($callback){
    echo $callback();
}

foo(fun);